package com.enjoyor.soa.traffic.restt.tpcms.dubbo;

import java.util.List;

import com.enjoyor.soa.traffic.api.dto.tpcms.RltBayonetZoneDto;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface IRltBayonetZoneConsumeService {

    /**
     * 获取关联卡口列表
     * 
     * @param relationId
     * @return
     */
    public ResultPojo getRltBayonetList(String relationId);

    /**
     * 关联卡口
     * 
     * @param relationId
     * @param rltBayonetZones
     * @param username
     */
    public ResultPojo insertRltBayonet(List<RltBayonetZoneDto> rltBayonetZones, String username);

    /**
     * 取关卡口
     * 
     * @param rltBayonetZone
     * @param username
     */
    public ResultPojo deleteRltBayonet(RltBayonetZoneDto rltBayonetZone, String username);

    /**
     * 地图上面关联卡口，仅增加一个
     * 
     * @param rltBayonetZone
     * @param personName
     */
    public ResultPojo insertRltBayonetForOne(RltBayonetZoneDto rltBayonetZone, String personName);

}